from meiduo_admin.mypakge import *



class SPEC_OPTION___spec_optionViewSet(ModelViewSet):
    # queryset = SpecificationOption.objects.all()
    # serializers_class = spec_option_OptionSerializer
    # pagination_class = MyPage
    queryset = SpecificationOption.objects.all()
    serializer_class = spec_option___OptionSerializer
    pagination_class = MyPage


class SPEC_OPTION___spec_option_simple(ListAPIView):
    # queryset = SPUSpecification.objects.all()
    # serializers_class = SpecSerializer####serializer多一个s导致一直运行错误
    queryset = SPUSpecification.objects.all()
    serializer_class = SpecSerializer

